package xyz.bali16.module.invitecode.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

/**
 * @author bali2 on 9/3/2023.
 * @version 1.0
 */
@Data
public class InviteCode {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String code;

    private Integer isUsed;

    private Integer num;
    @TableField(fill = FieldFill.INSERT)
    private String gmtCreated;

}
